package com.it.stone_manage.service;

import com.it.stone_manage.model.SearchData;
import com.it.stone_manage.model.StoneRecord;
import com.it.stone_manage.vo.Result;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface RecordService {
    Map<String ,Object> searchRecordData(SearchData searchData);

    Result saveRecordData(StoneRecord stoneRecord);

    Result deleteRecordData(StoneRecord stoneRecord);

    Result upload(MultipartFile uploadFile);

    void downloadTemplate(HttpServletResponse response);
}
